package com.woniu.bh.common.core.domain.post;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author cxb
 * @since 2020-10-13
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("bh_post_comment")
public class PostComment implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     * 数据id
     */
    @TableId(value = "comment_id", type = IdType.AUTO)
    private Integer commentId;

    /**
     * 该评论的标记
     */
    private Integer commentTag;

    /**
     * 当前评论用户的id
     */
    private Integer commentUserId;

    /**
     * 回复评论用户的id
     */
    private Integer commentReplyUserId;

    /**
     * 评论内容
     */
    private String commentContext;

    /**
     * 当前评论用户姓名
     */
    private String commentUserName;

    /**
     * 回复评论用户的姓名
     */
    private String commentReplyUserName;

    /**
     * 对应帖子id
     */
    private Integer commentPostId;


}
